<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Добро пожаловать</title>
        <link href="/css/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div id="contaner">
            <div id="header">
                <h1>Добро пожаловать CodeIgniter!</h1>
            </div>
            <div id="content">
                <?=$content?>
                <hr>
                <table style="border: 1px solid #999;">
                <?php foreach ($query->result() as $row): ?>
                    <tr><td class="bord"><?=$row->U_ID?></td><td class="bord"><?=$row->U_NAME?></td><td class="bord"><?=$row->U_DATE?></td><td class="bord"><?=$row->U_TEXT?></td></tr>
                <?php endforeach;?>
                </table>
            </div>
            <div style="clear: both"></div>
            <div id="empty"></div>
        </div>
        <div id="footer">
            <p><a href="#">www</a></p>
            <p>Page rendered in {elapsed_time} seconds</p>
        </div>
    </body>
</html>